﻿// ------------------------------------------------------------------------------------------------
//  <copyright file="Program.cs" company="Iveely">
//    Copyright (c) Iveely Liu.  All rights reserved.
//  </copyright>
//  
//  <Create Time>
//    12/03/2012 20:12 
//  </Create Time>
//  
//  <contact owner>
//    liufanping@iveely.com 
//  </contact owner>
//  -----------------------------------------------------------------------------------------------

#region

using System;
using System.IO;
using IveelySE.NLP.Knowledge.Extraction;

#endregion

namespace IveelySE.NLP
{
    internal class Program
    {
        private static void Main(string[] args)
        {
            //Drafttor.Test(File.ReadAllText("data.txt"));
            //Invert.Test_FindDocumentByKey();
            //DimensionTable<string, int, double>.Test();
            //Common.Algorithm.Kmeans<int>.Ugram_Test();
           // Recognition.WordAnalysis.Process();
            while (true)
            {
               // Segment.Participle.GetInstance().TextAccuracy();
                Console.WriteLine(Recognition.WordAnalysis.GetInstance().GetWordType(Console.ReadLine()));
            }
           
            //Segment.Participle.Test();//File.ReadAllText("MSR_Test.txt"));
            //string name = Recognition.WordAnalysis.GetInstance().GetWordType("实现祖国完全统一");
           // Console.WriteLine(name);
            //Invert.Test_FindDocumentByKey();
            //ListTable<double>.Test();
            //Segment.NaiveBayes.Test();
            //Similarity.Test();
            ////Word.Test();
            ////MultiTree<string>.Test();
            //Drafttor.Create(File.ReadAllText("data.txt"));
            Console.WriteLine("OK");
            Console.ReadKey();
        }

    }
}